<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
	
	<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
	
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Registration form</title>
<link href="resources/css/style.css" rel="stylesheet" type="text/css" />
</head>
<body bgcolor="#d6e4ea"> 

   
      		<table  width="100%" cellpadding="0" cellspacing="0"   >                                  
			 <tr  class="PG3" height="31">
              
	            <td> <font color="#FFFFFF"><b><font color="yellow"></font> registration</b></font></td>
	            <td align="right">
	            <a href="home.jsp" style="outline:0">
				<button type="submit" class="style_button">
				<img width="20" src="resources/images/home (1).png" border="0" /></button></a>
				</td>
	            </tr></table>


<form:form action="register/save" method="POST" modelAttribute="user">
<table border="0" width="1000" cellspacing="70px"cellpadding="0px">
<tr><td>
<table border="0" cellpadding="0" cellspacing="5px" align="left" width="450">
<tr><th align="left"><font size="5" color="brown">Personal data</font></th><td></td></tr>

<tr><td>UserName</td><td>Firstname</td> </tr>

<tr>
			
			<td>
			<form:input type="text" name="username" path="${user.userName}" />
				
				</td>
				<td>
			<form:input type="text" name="firstname" path="${user.firstname}" />
				
				</td>
		</tr>
		<tr><td>Password</td><td>Email</td> </tr>

<tr>
			
			<td>
			<form:input type="text" name="password"	path="${user.password}" />
				
				</td>
				
				<td>
			<form:input type="text" name="lastname"	path="${user.email}" />
				
				</td>
		</tr>
		
		<tr>
		<th><button type="submit" class="style_button">
		<img width="80" src="resources/images/submit.gif"  /></button>
	</tr>

</table>
</td>
</tr></table>
</form:form>
</body>



</html>